body{
    margin: 0;
    padding: 0;
    height: 100vh;
    background-image: url('./picture/注册背景.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}
.box1{
    width: 500px;
    height: 340px;
    background-color: rgb(195, 236, 249);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.87;
    border-radius: 5%;
}
/* 手机号注册文本 */
.text1{
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 35px;
    font-family: 楷体;
    font-weight: 400;
    color: #44a8fb;
}
.number{
    background-color: white;
    position: absolute;
    width: 300px;
    height: 35px;
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5%;
}
/* 输入框文字大小 */
.size{
    font-size: 20px;
}
/* 验证码文本框 */
.code{
    background-color: white;
    position: absolute;
    width: 200px;
    height: 35px;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    border-radius: 5%;
}
/* 发送验证码按钮 */
.button-code{
    background-color: #44a8fb;
    position: absolute;
    width: 90px;
    height: 35px;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.button1 {
    background-color: #44a8fb; /* 背景颜色 */
    color: white; /* 文字颜色 */
    border: none; /* 去除边框 */
    border-radius: 5%; /* 圆角 */
    cursor: pointer; /* 鼠标指针样式 */
}
.button1:hover{
    background-color: #1794fa;
}
.button1:active {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, -50%);
}


/* 切换登录页面 */
.logon{
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #44a8fb;
}
.number input{
    position: absolute;
    left: 5%;
    width: 80%;
    height: 80%;
    color: black;
    border: 0;
    background-color: transparent;
}
.code input{
    position: absolute;
    left: 5%;
    width: 80%;
    height: 80%;
    color: black;
    border: 0;
    background-color: transparent;
}
/* 超链接交互样式 */
a{
    color: grey;
}
a:hover{
    color: black;
}
/* 文本框去黑边 */
input:focus {
    outline: none;
  }
.text2{
    font-size: 13px;
    font-family: 楷体;
    text-align: center;
    line-height: 13px;
    color: white;
}

/* 注册按钮 */
.button-register{
    background-color: #44a8fb;
    position: absolute;
    width: 100px;
    height: 35px;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;

    /* 文本属性 */
    font-size: 20px;
    font-family: 楷体;
    text-align: center;
    line-height: 17px;
    color: white;
}

/* 其他方式注册文本属性 */
.else{
    position: absolute;
    color: grey;
    font-size: 14px;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 其他注册方式的图标 */
.picture1{
    position: absolute;
    width: 30px;
    height: 30px;
    top: 85%;
    left: 40%;
    transform: translate(-50%, -50%);
}
.picture2{
    position: absolute;
    width: 30px;
    height: 30px;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.picture3{
    position: absolute;
    width: 30px;
    height: 30px;
    top: 85%;
    left: 60%;
    transform: translate(-50%, -50%);
}
/* 图片按钮 */
.image-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
